package com.hhss.qishi.mapper;

import com.hhss.qishi.entity.Picture;
import com.hhss.qishi.mapper.provider.PictureProvider;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.SelectProvider;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Auther: zcc
 * @Date: 19-6-20 14:46
 * @Description:
 */
@Mapper
@Repository
public interface PictureMapper extends CapitalMapper<Picture>{

    @SelectProvider(type = PictureProvider.class, method = "getListSQL")
    List<Picture> getList(Picture picture);
}
